package com.prince.constant;

/**
 * @author
 *
 */
public class Constants {
	public static final Integer ZERO = 0;
	public static final Integer ONE = 1;
	public static final Integer TWO = 2;
	public static final Integer THREE = 3;
	public static final Integer FOUR = 4;
	public static final Integer FIVE = 5;
	public static final Integer SIX = 6;
	public static final Integer SEVEN = 7;
	public static final Integer EIGHT = 8;
	public static final Integer NINE = 9;
	public static final Integer TEN = 10;
	public static final Integer EVEL = 11;
	//session
	public static final String USER="user";
	//方向 出货
	public static final Integer DIRECTION_ADD = 1;
	//退货
	public static final Integer DIRECTION_SUBTRACT = 2;
	//编码
	public final static String ENCODE_GBK ="GBK";
	public final static String ENCODE_UTF8 ="UTF-8";
	
	/** 图片地址 */
	public static final String IMAGE_ADDR = "/upload";
	/** redis 验证审核时间 **/
	public static final String REDIS_ISCHECK_TIME = "redisIsCheckTime";

	/** 手机号正则表达式 */
	public static final String REGEX_PHONE = "regexPhone";
	
	/** 登录异常 */
	public static final String LOGINABNORMAL = "loginAbnormal";
	/** 登录超时 */
	public static final String LOGINTIME = "loginTime";

	/** 域名常量类型 */
	public static final String domain = "domain";
	/** web域名常量类型 */
	public static final String webDomain = "webDomain";
	/** app域名常量类型 */
	public static final String appDomain = "appDomain";
	/** 图片域名常量类型 */
	public static final String imgDomain = "imgDomain";
	/** 位数 字符串 100 */
	public static final String DIGIT = "100";
	/** 是 */
	public static final String YES = "yes";
	/** 否 */
	public static final String NO = "no";
	/** 用户登陆失败次数 */
	public static final String LOGINFAILNUMBER = "loginFailNumber";
	/** 登陆时间在常量值范围内 */
	public static final String LOGINFREEZEFAILTIME = "loginfreezeFailtime";
	/** 用户冻结 */
	public static final String FROZEN = "frozen";
	/** 用户禁用 */
	public static final String DISABLE = "disable";
	/** 用户启用 */
	public static final String ENABLE = "enable";
	/** 管理员 */
	public static final String ADMIN = "admin";
	/** 员工 */
	public static final String STAFF = "staff";
	/** 管理 */
	public static final String MANAGEMENT = "management";


	/**  搜索  商品名称  */
	public static final String  SHOP_NAME= "name";
	/**  搜索  广告语  */
	public static final String  SHOP_ADVERTISING= "advertising";
	/**  搜索  描述  */
	public static final String  SHOP_DESCRIBED= "described";
	/**  搜索  规格  */
	public static final String  SHOP_SPECIFICATIONS= "specifications";

	/** 类型(线上 线下) */
	public static final String ONLINE = "online";
	public static final String OFFLINE = "offline";
	/** 小程序首页分享头标题 */
	public static final String INDEX_HEAD_TITLE = "titleIndex";
}
